﻿using System;
using System.ComponentModel.DataAnnotations;
using Mt.Site.Core.Members;

namespace Mt.Site.Application.Members.BackEnd.Dto
{
    public class MemberInfoInput
    {
        /// <summary>
        /// 会员表member guid
        /// </summary>
        [Required]
        public Guid Id { get; set; }
        /// <summary>
        /// 名
        /// </summary>
        [StringLength(MemberInfo.MaxNameLength)]
        [Required]
        public  string FirstName { get; set; }

        /// <summary>
        /// 姓
        /// </summary>
        [StringLength(MemberInfo.MaxNameLength)]
        [Required]
        public  string LastName { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        [StringLength(MemberInfo.MaxNameLength)]
        public  string FullName { get; set; }

        /// <summary>
        /// 手机
        /// </summary>
        [StringLength(MemberInfo.MaxPhoneLength)]
        public  string Phone { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        [StringLength(MemberInfo.MaxSexLength)]
        public  string Sex { get; set; }

        /// <summary>
        /// 公司
        /// </summary>
        [StringLength(MemberInfo.MaxCompanyLength)]
        public  string Company { get; set; }


        /// <summary>
        /// 电话
        /// </summary>
        [StringLength(MemberInfo.MaxTelLength)]
        public  string Tel { get; set; }

        /// <summary>
        /// 邮编
        /// </summary>
        [StringLength(MemberInfo.MaxZipCodeLength)]
        public  string ZipCode { get; set; }


        /// <summary>
        /// 职位
        /// </summary>
        [StringLength(MemberInfo.MaxJobTitleLength)]
        public  string JobTitle { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        [StringLength(MemberInfo.MaxAddressLength)]
        public  string Address { get; set; }

        /// <summary>
        /// 地址1
        /// </summary>
        [StringLength(MemberInfo.MaxAddressLength)]
        public  string Address1 { get; set; }

        /// <summary>
        /// 国家
        /// </summary>
        [StringLength(MemberInfo.MaxCountryLength)]
        public  string Country { get; set; }

        /// <summary>
        /// 网页
        /// </summary>
        [StringLength(100)]
        public  string WebPage { get; set; }

        /// <summary>
        /// 省份
        /// </summary>
        [StringLength(MemberInfo.MaxAreaLength)]
        public  string Province { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        [StringLength(MemberInfo.MaxAreaLength)]
        public  string City { get; set; }

        /// <summary>
        /// 传真
        /// </summary>
        [StringLength(MemberInfo.MaxFaxLength)]
        public  string Fax { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public  string Remark { get; set; }

    }
}
